package com.neusoft.neuiotms.dcvm.task.cmdbSyn.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.neusoft.bizcore.web.jpa.model.AbstractAuditModel;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "neuiot_rack_unit_usage")
@org.hibernate.annotations.Table(appliesTo = "neuiot_rack_unit_usage", comment = "机柜机位业务使用状况")
public class RackUnitUsage extends AbstractAuditModel {

    private static final long serialVersionUID = 1L;

    /** 机柜编码 */
    @Column(name = "rack_code", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '机柜编码'")
    private String rackCode;

    /** 机柜名称 */
    @Column(name = "rack_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '机柜名称'")
    private String rackName;

    /** 开始机位 */
    @Column(name = "start_unit", length = 255, nullable = true)
    private int startUnit;

    /** 结束机位 */
    @Column(name = "end_unit", length = 255, nullable = true)
    private int endUnit;

    /** 业务名称 */
    @Column(name = "indent_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '业务名称'")
    private String indentName;

    /** 业务编码 */
    @Column(name = "indent_code", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '业务编码'")
    private String indentCode;

    /** 客户名称 */
    @Column(name = "cust_name", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '客户名称'")
    private String custName;

    /** 客户编码 */
    @Column(name = "cust_code", length = 255, nullable = true, columnDefinition = "varchar(255) COMMENT '客户编码'")
    private String custCode;

}
